/*
 * Copyright:  2018 smarabbit studio.
 *
 *  Licensed under the Confluent Community License; you may not use this file
 *  except in compliance with the License.  You may obtain a copy of the License at
 *
 *  http://www.confluent.io/confluent-community-license
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 *  WARRANTIES OF ANY KIND, either express or implied.  See the License for the
 *  specific language governing permissions and limitations under the License.
 *
 *  @作   者： 黄开晖 (117227773@qq.com)
 *  @日   期:  2021年5月28日
 */
package com.massyframework.beanskin;

import java.util.Set;

/**
 * 每个模块都有对应的配置项.配置项提供模块标识符、友好名称、说明、开发商等信息。
 * @author huangkh
 */
public interface ModuleConfig extends RequireLibraryDescriptors, ModuleIdentifier {
	
	/**
	 * 是否标记有{@code tag}标签
	 * @param tag {@link String}
	 * @return {@link boolean},返回{@code true}表示有，否则返回{@code false}
	 */
	boolean hasTag(String tag);
		
	/**
	 * 开发商
	 * @return {@link Developer},可能返回null.
	 */
	Developer getDeveloper();
	
	/**
	 * 简介
	 * @return {@link String},可能返回null.
	 */
	String getDescription();

	/**
	 * 友好的名称
	 * @return {@link String}
	 */
	String getName();
	
	/**
	 * 所有标签
	 * @return {@link Set}
	 */
	Set<String> getTags();
}
